package com.ghy.dto;

import com.ghy.constant.RE;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @author GaoHeYang
 */
@Schema(name="订单明细修改DTO")
@Data
public class OrderDetailUpdateDTO implements Serializable, RE {

    @NotNull(message ="主键不能为空")
    @Schema(description = "主键")
    private Long id;


    @Schema(description = "订单主键")
    private Long fkOrderId;


    @Schema(description = "课程主键")
    private Long fkCourseId;



}
